﻿using System;
using System.Collections.Generic;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int i = 0; i < 100; i++)
            {
                NewMethod();
            }

        }

        private static void NewMethod()
        {
            Random random = new Random();
            int[] list = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            for (int i = list.Length - 1; i > 0; i--)
            {
                int index = random.Next(0, i + 1);
                int temp;
                temp = list[index];
                list[index] = list[i];
                list[i] = temp;
            }
            for (int i = 0; i < list.Length; i++)
            {
                Console.Write(list[i].ToString() + "  ");
            }
            Console.WriteLine();
        }
    }
}
